package com.example.myblog.dao;

import com.example.myblog.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

import java.util.List;


/**
 * Created by asus on 2020/5/28 13:46
 */
public interface UserDao extends JpaRepository<User,Long> {

    User findByUsernameAndPassword(String username,String password);

}
